<!DOCTYPE html>
<html>
<head>
  <title>debug test</title>
  <style>p { color:red; }</style>
  <script type="text/javascript" src="lib/jQuery/js/jquery-1.7.1.min.js"></script>
  <script type="text/javascript">
    $(document).ready(function () {
      alert("Doc ready");
      $("p").text("The DOM is now loaded and can be manipulated." + XX());
    });
    
    var XX = function(){return 6.0;};
  </script>

</head>
<body>
  <p>Not loaded yet.</p>

</body>
</html>
